package com.ddstation.crm.outpatient.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.ddstation.crm.outpatient.model.OutpatientModel;

import javax.persistence.Column;
import javax.persistence.Table;

/*
 *  mapping dt_health_data_outpatient_medical
 */
/**
 * mapping dt_health_data_outpatient_medical 健康数据 门诊病历（病历）
 * @author jinxiongjun
 * @date 2018年1月3日
 */
@Table(name = "invs.dt_health_data_outpatient_medical")
public class DtHealthDataOutpatientMedicalEntity {
	private String id;
	private String institutionId;
	private String institutionName;
	private String uid;
	private Integer childId;
	private String doctorId;
	private @DateTimeFormat(pattern = "yyyy-MM-dd") Date visitDate;//就诊日期
	private String visitDateTxt;// js new Date()转换时，1990-08前后，日期会少去一天
	private Integer visitType;//就诊类型 1:初诊 2:复诊
	private String complain;//主诉
	private Float temperature;//体温
	private Float weight;//体重
	private Float heartRate;//心率
	private Float breath;//呼吸
	private Float systolic;//收缩压
	private Float diastolic;//舒张压
	private String otherPhysique;//其他体格检查
	private String diagnosis;//诊断
	private String diagnosisIcd10;//诊断icd10
	private String advice;//医嘱
	private Integer treatmentSt;//检查治疗项
	private Integer westPrescriptionSt;//成药处方
	private Integer chinesePrescriptionSt;//饮片处方
	private Integer infusionPrescriptionSt;//输液处方
	private Float treatmentAmout;//检查治疗项 小计金额
	private Float westPrescriptionAmout;//成药处方 小计金额
	private Float chinesePrescriptionAmout;//饮片处方 小计金额
	private Float infusionPrescriptionAmout	;//输液处方 小计金额
	private String medicalSerialNo;//就诊流水号
	private Integer status;
	private String name;
	private Integer age;
	private Integer ageMonth;
	private Integer gender;
	private String doctorName;
	private String updateTmStr;

	private String createTmStr;
	private String showAge; //页面显示用年龄
	private String symptom;//现病史
	private String allergy	;//过敏史
	private String geneticDisease	;//遗传疾病史
	private String pastHistory	;//遗传疾病史//既往史
	private String tz	;//体征

	public String getMedicalSerialNo() {
		return medicalSerialNo;
	}

	public void setMedicalSerialNo(String medicalSerialNo) {
		this.medicalSerialNo = medicalSerialNo;
	}

	public String getInstitutionName() {
		return institutionName;
	}

	public void setInstitutionName(String institutionName) {
		this.institutionName = institutionName;
	}

	public String getTz() {
		return tz;
	}

	public void setTz(String tz) {
		this.tz = tz;
	}

	public String getPastHistory() {
		return pastHistory;
	}

	public void setPastHistory(String pastHistory) {
		this.pastHistory = pastHistory;
	}

	public String getAllergy() {
		return allergy;
	}

	public void setAllergy(String allergy) {
		this.allergy = allergy;
	}

	public String getGeneticDisease() {
		return geneticDisease;
	}

	public void setGeneticDisease(String geneticDisease) {
		this.geneticDisease = geneticDisease;
	}

	private String userUUID;
	private OutpatientModel outpatientModel;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public Integer getChildId() {
		return childId;
	}

	public void setChildId(Integer childId) {
		this.childId = childId;
	}

	public Date getVisitDate() {
		return visitDate;
	}

	public void setVisitDate(Date visitDate) {
		this.visitDate = visitDate;
	}

	public String getVisitDateTxt() {
		return visitDateTxt;
	}

	public void setVisitDateTxt(String visitDateTxt) {
		this.visitDateTxt = visitDateTxt;
	}
	
	public Integer getVisitType() {
		return visitType;
	}

	public void setVisitType(Integer visitType) {
		this.visitType = visitType;
	}

	public String getComplain() {
		return complain;
	}

	public void setComplain(String complain) {
		this.complain = complain;
	}

	public String getSymptom() {
		return symptom;
	}

	public void setSymptom(String symptom) {
		this.symptom = symptom;
	}

	public Float getTemperature() {
		return temperature;
	}

	public void setTemperature(Float temperature) {
		this.temperature = temperature;
	}

	public Float getWeight() {
		return weight;
	}

	public void setWeight(Float weight) {
		this.weight = weight;
	}

	public Float getHeartRate() {
		return heartRate;
	}

	public void setHeartRate(Float heartRate) {
		this.heartRate = heartRate;
	}

	public Float getBreath() {
		return breath;
	}

	public void setBreath(Float breath) {
		this.breath = breath;
	}

	public Float getSystolic() {
		return systolic;
	}

	public void setSystolic(Float systolic) {
		this.systolic = systolic;
	}

	public Float getDiastolic() {
		return diastolic;
	}

	public void setDiastolic(Float diastolic) {
		this.diastolic = diastolic;
	}

	public String getOtherPhysique() {
		return otherPhysique;
	}

	public void setOtherPhysique(String otherPhysique) {
		this.otherPhysique = otherPhysique;
	}

	public String getDiagnosis() {
		return diagnosis;
	}

	public void setDiagnosis(String diagnosis) {
		this.diagnosis = diagnosis;
	}

	public String getAdvice() {
		return advice;
	}

	public void setAdvice(String advice) {
		this.advice = advice;
	}

	public Integer getTreatmentSt() {
		return treatmentSt;
	}

	public void setTreatmentSt(Integer treatmentSt) {
		this.treatmentSt = treatmentSt;
	}

	public Integer getWestPrescriptionSt() {
		return westPrescriptionSt;
	}

	public void setWestPrescriptionSt(Integer westPrescriptionSt) {
		this.westPrescriptionSt = westPrescriptionSt;
	}

	public Integer getChinesePrescriptionSt() {
		return chinesePrescriptionSt;
	}

	public void setChinesePrescriptionSt(Integer chinesePrescriptionSt) {
		this.chinesePrescriptionSt = chinesePrescriptionSt;
	}

	public Integer getInfusionPrescriptionSt() {
		return infusionPrescriptionSt;
	}

	public void setInfusionPrescriptionSt(Integer infusionPrescriptionSt) {
		this.infusionPrescriptionSt = infusionPrescriptionSt;
	}

	public String getUserUUID() {
		return userUUID;
	}

	public void setUserUUID(String userUUID) {
		this.userUUID = userUUID;
	}

	public Float getTreatmentAmout() {
		return treatmentAmout;
	}

	public void setTreatmentAmout(Float treatmentAmout) {
		this.treatmentAmout = treatmentAmout;
	}

	public Float getWestPrescriptionAmout() {
		return westPrescriptionAmout;
	}

	public void setWestPrescriptionAmout(Float westPrescriptionAmout) {
		this.westPrescriptionAmout = westPrescriptionAmout;
	}

	public Float getChinesePrescriptionAmout() {
		return chinesePrescriptionAmout;
	}

	public void setChinesePrescriptionAmout(Float chinesePrescriptionAmout) {
		this.chinesePrescriptionAmout = chinesePrescriptionAmout;
	}

	public Float getInfusionPrescriptionAmout() {
		return infusionPrescriptionAmout;
	}

	public void setInfusionPrescriptionAmout(Float infusionPrescriptionAmout) {
		this.infusionPrescriptionAmout = infusionPrescriptionAmout;
	}
	
	@Override
	public String toString() {
		return "DtHealthDataOutpatientMedicalEntity [id=" + id
				+ ", uid=" + uid
				+ ", childId=" + childId
				+ ", visitDate=" + visitDate
				+ ", visitType=" + visitType
				+ ", complain=" + complain
				+ ", symptom=" + symptom
				+ ", temperature=" + temperature
				+ ", weight=" + weight
				+ ", heartRate=" + heartRate
				+ ", breath=" + breath
				+ ", systolic=" + systolic
				+ ", diastolic=" + diastolic
				+ ", otherPhysique=" + otherPhysique
				+ ", diagnosis=" + diagnosis
				+ ", advice=" + advice
				+ ", treatmentSt=" + treatmentSt
				+ ", westPrescriptionSt=" + westPrescriptionSt
				+ ", chinesePrescriptionSt=" + chinesePrescriptionSt
				+ ", infusionPrescriptionSt=" + infusionPrescriptionSt
				+ ", userUUID=" + userUUID
				+ "]";
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	public String getCreateTmStr() {
		return createTmStr;
	}

	public void setCreateTmStr(String createTmStr) {
		this.createTmStr = createTmStr;
	}

	public OutpatientModel getOutpatientModel() {
		return outpatientModel;
	}

	public void setOutpatientModel(OutpatientModel outpatientModel) {
		this.outpatientModel = outpatientModel;
	}

	public String getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId;
	}

	public Integer getAgeMonth() {
		return ageMonth;
	}

	public void setAgeMonth(Integer ageMonth) {
		this.ageMonth = ageMonth;
	}

	public String getShowAge() {
		return showAge;
	}

	public void setShowAge(String showAge) {
		this.showAge = showAge;
	}

	public String getUpdateTmStr() {
		return updateTmStr;
	}

	public void setUpdateTmStr(String updateTmStr) {
		this.updateTmStr = updateTmStr;
	}
	public String getDiagnosisIcd10() {
		return diagnosisIcd10;
	}

	public void setDiagnosisIcd10(String diagnosisIcd10) {
		this.diagnosisIcd10 = diagnosisIcd10;
	}
}